package store.lunangangster.engine.impl.entity.mgr;

import java.util.List;
import store.lunangangster.engine.impl.entity.IdentityLinkEntity;
import store.lunangangster.engine.impl.entity.TaskEntity;

public interface IdentityLinkEntityManager extends EntityManager<IdentityLinkEntity> {

  void addCandidateUserToTask(TaskEntity taskEntity, String user);

  void addCandidateGroupToTask(TaskEntity taskEntity, String group);

  List<IdentityLinkEntity> selectIdentityLinkByExecutionId(String executionId);

  List<IdentityLinkEntity> selectIdentityLinkByTaskId(String taskId);
}
